<?php
require_once FOREGROUND_PC_COMMON_ACTION_DIR . '/member.php';

class foreground_pc_member_index_action extends foreground_pc_member_common_action
{
    protected $_if_require_login = true;
    
    protected function _current_page_run()
    {
        //var_dump(__METHOD__); exit();
        
        //跳转到【订单列表页】
        $order_list_url = $this->get_url(array('route' => 'order_list'), true);
        echo '<script type="text/javascript">window.top.location.replace("'. $order_list_url . '");</script>';
        //exit();
        return;
        
        $foreground_member_index_action_service = wwy_resource_container::get_foreground_member_index_action_service();
        $foreground_member_index_action_service->process();
                     
        self::$_view_data['if_member_side_bar'] = 1;
                
        self::$_layout_data['view_content'] = $this->_render_view('member/index.php');
        
        self::$_layout_data['member_menu'] = $this->_render_view('member/menu.php');
        
        //var_dump(self::$_view_data); exit();
    }
}